import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import '@/style/index.less'

import './plugin/index.js'
// import '@/utils/rem.js'

import request from './utils/request.js'
import 'amfe-flexible'
// import { Loading, Button, Toast } from 'vant'
// Vue.use(Loading).use(Button).use(Toast)
import Vant from 'vant'
import 'vant/lib/index.css'
import './mock/index.js'
Vue.use(Vant)

Vue.config.productionTip = false

Vue.prototype.request = request

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
